package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 仓库模块-商品调拨单
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_goods_trans_bill")
public class GoodsTransBill extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 调货单号
     */
    private String transBillSn;

    /**
     * 调货发起人
     */
    private Long promoter;

    /**
     * 调货状态
     */
    private Integer transStatus;

    /**
     * 出货仓库
     */
    private Long outputDepot;

    /**
     * 调货总数量
     */
    private Integer quantity;

    /**
     * 入货仓库
     */
    private Long inputDepot;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;



    private  String remark;

    private Integer createType;

    private  Long  fhId;

    private  String  fhName;
    /**
     * 订单编号
     */
    @TableField(exist = false)
    private  String orderSn;

    private BigDecimal amount;
}
